<template>
  <div>
    <el-tabs v-model="activeName" @tab-click="handleClick">
     <el-button type="primary" @click="barnck">返回</el-button>
      <el-tab-pane label="违规外联检测" name="first"
        ><outreachDetection></outreachDetection>
      </el-tab-pane>
      <el-tab-pane label="外设端口监控" name="second">
        <portMonitoring></portMonitoring
      ></el-tab-pane>
    </el-tabs>
  </div>
</template>

<script>
import outreachDetection from "./outreachDetection.vue";
import portMonitoring from "./portMonitoring.vue";
export default {
  name: "identification",
  data() {
    return {
      activeName: "first",
    };
  },
  created() {},
  methods: {
    handleClick(tab, event) {
      console.log(tab, event);
    },
     barnck() {
      this.$router.push("/home");
    },
  },
  components: {
    outreachDetection,
    portMonitoring,
  },
};
</script>

<style scoped>

</style>